package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.RoleDirR;
import com.mk.model.request.RoleDirRequest;
import com.mk.model.response.RoleDirResponse;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 11:42 AM 3/15/18
 */
public interface IRoleDirService extends IBaseService<RoleDirR> {

    RoleDirR save(RoleDirR roleDirR);

    Boolean changeRoleDir(RoleDirRequest request);

    RoleDirResponse findByRoleId(Long roleId);

    Boolean deleteByDir(Long dirId);

    RoleDirR findByDir(Long roleId, Long rDir);
}
